# Tanım: Utilities for freezing Python scripts into executables
# URL: https://anthony-tuininga.github.io/cx_Freeze
# Paketçi: yasarciv67
# Gerekler: python3-setuptools python3-nose python3-openpyxl 

isim=python3-cx_freeze
surum=5.1.1
devir=1
source=(https://github.com/anthony-tuininga/cx_Freeze/archive/$surum.tar.gz::$isim-$surum.tar.gz
        python3.7.patch)

derle() {
  cd cx_Freeze-$surum
  patch -p1 -i ../python3.7.patch
  python3 setup.py build
  python3 setup.py nosetests || warning "Tests failed"
  python3 setup.py install --root "$PKG" --optimize 1 --skip-build
}
